package cn.ac.cintcm.dataconverge.researcher.service;

import java.util.List;

import com.hs.core.page.PageParam;
import com.hs.core.page.PageUtil;
import com.hs.core.service.IService;

import cn.ac.cintcm.dataconverge.researcher.domain.Groups;

public interface IGroupService extends IService{

	public PageUtil getAllGroups(PageParam pageParam);
	public List getAllGroups();

	public List getAllAuths();

	public boolean addGroup(Groups group, String[] rights);

	public List getGroupAuthByGroupid(Long groupid);
	public List getGroupAuth(String groupids);

	public Groups getGroupByGroupid(Long groupid);

	public void deleteGroupAuth(Long groupid);

	public void updateGroup(Groups oldgroup, String[] rights);

	public void deleteGroup(Long groupid);

	public List getGroupByGroupidLow(Long group);

}
